<script setup>
import { onMounted } from "vue";
import { useRoute, useRouter } from "vue-router";
const route = useRoute();
const router = useRouter();

onMounted(() => {
  if (route.path == "/") {
    router.push("/home-page");
  }
});
</script>
